Fix the css parser value inherit test
authorMatthias Clasen <mclasen@redhat.com>
Mon, 21 Dec 2015 19:35:11 +0000 (14:35 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 21 Dec 2015 19:35:11 +0000 (14:35 -0500)
This was affected by the recent renaming of icon-shadow to
-gtk-icon-shadow. Also, it produces an error now because
engine is deprecated.

testsuite/css/parser/Makefile.am
testsuite/css/parser/value-inherit.css
testsuite/css/parser/value-inherit.errors [new file with mode: 0644]

index 8b2792c6c0a0df384aa758d117ec648199d63fd7..09eaa6ef71a1b35935f2e8709ba6485670c0a572 100644 (file)
@@ -403,6 +403,7 @@ test_data = \
        transition.css \
        transition.ref.css \
        value-inherit.css \
+       value-inherit.errors \
        value-inherit-shorthand.css \
        value-inherit-shorthand.ref.css \
        value-initial.css \
index 6e18ed82897bd098ae355c1c86b1fc01675109c6..509c601b315395d7a0f558af84260215241ef014 100644 (file)
@@ -1,4 +1,5 @@
 * {
+  -gtk-icon-shadow: inherit;
   background-clip: inherit;
   background-color: inherit;
   background-image: inherit;
@@ -33,7 +34,6 @@
   font-style: inherit;
   font-variant: inherit;
   font-weight: inherit;
-  icon-shadow: inherit;
   margin-bottom: inherit;
   margin-left: inherit;
   margin-right: inherit;
diff --git a/testsuite/css/parser/value-inherit.errors b/testsuite/css/parser/value-inherit.errors
new file mode 100644 (file)
index 0000000..99adf8d
--- /dev/null
@@ -0,0 +1 @@
+value-inherit.css:30: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED